function ModelCreator(Model) {
  class ModelExtend extends Model {
    constructor(...args) {
      super(...args)
    }

    get _rec_names_search() {
      return ['name', 'code']
    }
  }

  return ModelExtend
}

const metadata = {}
// ,
const AddonsModels = {
  'account.account': {
    ModelCreator,
    metadata
  }
}

export default AddonsModels
